﻿using MY.ShoppingBackstage.BLL;
using System.Web.Mvc;

namespace MY.ShoppingBackstage.Controllers
{
    public class HomeController : Controller
    {

        /// <summary>
        /// 登录页面
        /// </summary>
        /// <returns></returns>
        public ActionResult Login()
        {
            new UserInfoService().Exists(a=>a.UserName=="admin"&&a.Pwd=="admin");
            return View();
        }
        /// <summary>
        /// 主页面
        /// </summary>
        /// <returns></returns>
        public ActionResult Shops_Index()
        {
            return View();
        }
    }
}